#!/bin/sh
echo ===== Building prereq libXau
cd libXau
../../ndk-build
echo ===== Building X11
cd ../libX11
../../ndk-build
echo ========================================================================
echo Now you should be done with the most important 2 libs. However, you may
echo also find libXt useful, therefore building prereq and lib for you...
echo ========================================================================
echo ===== Building libICE
cd ../libICE
../../ndk-build
echo ===== Building libSM
cd ../libSM
../../ndk-build
echo ===== Building libXt
cd ../libXt
../../ndk-build
echo ========================================================================
echo As you may want to run the xclock sample program, we need another few
echo libs for it to run.
echo ========================================================================
echo ===== Building libXext
cd ../libXext
../../ndk-build
echo ===== Building libXmu
cd ../libXmu
../../ndk-build
echo ===== Building libXpm
cd ../libXpm
../../ndk-build
echo ===== Building libXaw
cd ../libXaw
../../ndk-build
echo ===== Finally building xclock sample
cd ../xclock
../../ndk-build
cd ..
